#pragma once
#include<sys/types.h>
#include<sys/stat.h>
#include<unistd.h>
#include<fcntl.h>
#include<string>
#include<iostream>
#include<cstring>
#define FIFO_FILE "./myfifo"
enum{
    FiFO_CREAT_ERR = 1,
    FIFO_DELETE_ERR,
    FIFO_OPEN_ERR
};